package com.kc.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.kc.bean.Comment;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-10-25
 */
public interface CommentMapper extends BaseMapper<Comment> {

    @Select("select article_id,accountId,fileName,contene from comment ${ew.customSqlSegment}")
    List<Comment> getComment(@Param(Constants.WRAPPER)Wrapper wrapper);

}
